package com.dingli.framework.mapper;

import com.dingli.framework.entity.Member;
import com.dingli.framework.entity.Recruit;
import com.dingli.framework.entity.Resume;
import org.springframework.stereotype.Repository;

import java.util.List;

@Repository
public interface RecruitMapper {

    List<Recruit> Rtlist(String search);

    //多条件检索会员
    List<Recruit> RtselectArea(String mbEseprovince);

    //查看招聘
    Recruit RtselectById(Long reId);

    //新增招聘
    int Rtinsert(Recruit recruit);

    //修改招聘
    int RtupdateById(Recruit recruit);

    //删除招聘
    int RtdeleteById(Long rtId);

    //审核招聘通过
    int RtupdateState (String rtId);

    //审核招聘不通过
    int Rtupdate (String rtId);

    //查询审核中的招聘数量
    List<Recruit> RtselectState(String rtState);

    //查询审核通过的招聘数量
    List<Recruit> RtselectState1(String rtState);

    //统计招聘数量
    List<Recruit> RtAll(String rtId);
}
